package com.wk.user.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.wk.user.bo.GoodsFootprintBO;
import com.wk.user.fallback.FootprintApiFallback;
import com.wk.user.po.Footprint;

import com.wk.framework.api.Api;
import com.wk.framework.utils.Result;

import java.util.List;

@FeignClient(value = "cloud-user", path = "footprint", fallback = FootprintApiFallback.class)
public interface FootprintApi extends Api<Footprint> {

    @GetMapping("/queryGoodsFootprintTimeLine")
    Result<List<List<GoodsFootprintBO>>> queryGoodsFootprintTimeLine();
}
